package com.by.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.by.api.dto.LockStock;
import com.by.entity.SkuStockLock;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 江俊俊
 * @version 1.0
 * @description
 * @date 2025/4/10 21:06
 * @since JDK1.8
 */
@Mapper
public interface SkuStockLockMapper extends BaseMapper<SkuStockLock> {

    /**
     * 批量记录
     * @param lockStockList
     * @return
     */
    int batchSave(@Param("lockStockList") List<LockStock> lockStockList);

}
